Component({
    properties: {
        mode:{type:String, value:'date'},   // date-日期选择器 time-时间选择器 datetime-日期时间选择器
        value: {type:[String], value:''},
        placeholder:{type:String, value:'请选择'},
    },
    data: {},
    methods: {
        onChange(e){
            this.triggerEvent("change",e.detail)
        }
    }
});
